home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
HENSA
/
TEXTPROC
/
AGREP.ARC
/
!agrep
/
!help
< prev
next >
Wrap
Text File
|
1994-08-24
|
2KB
|
48 lines
agrep
~~~~~
Purpose: find a text string with only an approximate match
Setup:
Icon Action/Meaning
---- --------------
Throwback Enable Throwback
Patterns The pattern to search for
Files List of files to search for pattern in
Line count output record number before matched record
Filenames only list only the filenames that contain matches
Case insensitive case-insensitive search, e.g. 'a' == 'A'
List non-matches output those records containing no matches
Max errors maximum number of insertions, deletions or substitutions
allowed in the search pattern
Wildcards Displays most pattern wildcards
Pattern Wildcards:
; pattern1 AND pattern2
, pattern1 OR pattern2
<pattern> pattern must match exactly even if approximate search is in use
. match any single character
$ match end of line
\c match 'c' even if 'c' is a wildcard character
[ start a list of patterns
] end list of patterns
- [a-ho-z] and [^i-n] will both match any char between a and h
or between o and z
^ beggining of a line (note different meaning when inside a list)
See Man Page for a more complete list of wildcards
Menu:
Entry Action/Meaning
----- --------------
Count Matches display only the number of matches for each file
Super Sequence find a super sequence of pattern eg DCS will match
Department of Computer Science
Define record make record something other than a line eg a paragraph
or e-mail message
Insertion change weighting for insertions
Deletion change weighting for deletions
Substitution change weighting for substitutions
No filenames don't list filenames
Silent run silently